package com.test;

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;

import java.io.*;

public class CommonsIoDemo {
    public static void main(String[] args) throws IOException {
//        IOUtils.copy(new FileInputStream(new File("src\\main\\java\\com\\test\\xmlStudy\\books.dtd")),new FileOutputStream(new File("src\\main\\java\\com\\test\\books.dtd")));
        FileUtils.copyDirectory(new File("src\\main\\ZStudy1"),new File("src\\main\\java\\com\\ZStudy1"));
    }
}
